Skip to content

Conversation

@tasxatzial
Copy link
Member

No description provided.


1. A Docker container is created
2. The Docker container is run with the correct arguments
3. The Docker container is destroyed
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
3. The Docker container is destroyed
3. The Docker container is destroyed.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, why is a period needed here?

Copy link
Member

@BNAndras BNAndras Oct 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, mistake on my part on mobile. The full context wasn't showing to mark all the steps, but a period should be used after an item in a list if every item is a sentence on its own. See https://apastyle.apa.org/style-grammar-guidelines/lists/numbered and https://www.microsoft.com/en-us/microsoft-365-life-hacks/writing/punctuating-bullet-point-lists.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't add a comment to it, but L49 should read "Tooling runs as a one-off, short-lived Docker container:"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

L61 should read 'Therefore, it's fine if the code that runs at build-time is (relatively) slow.'

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

L120 should read 'The reason "slim" variants are smaller is that they'll have fewer features.'

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. Fixed.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

L140 should read 'Distributions that use the apk package manager (such as Alpine) should use the --no-cache flag when using apk add to install packages:'

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

L217 should read 'Its Dockerfile starts with a stage (given the name build) that installs those packages (via apk add) and then installs the libraries (via bundle install):'

- Be faster to deploy
- Reduce costs for us
- Improve startup time of each container
- Improve the startup time of each container
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The prior line doesn't read "Reduce the cost". I don't think this needs "the" added.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds reasonable. Removed.


1. A Docker container is created
2. The Docker container is run with the correct arguments
3. The Docker container is destroyed
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

L61 should read 'Therefore, it's fine if the code that runs at build-time is (relatively) slow.'


1. A Docker container is created
2. The Docker container is run with the correct arguments
3. The Docker container is destroyed
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

L120 should read 'The reason "slim" variants are smaller is that they'll have fewer features.'


1. A Docker container is created
2. The Docker container is run with the correct arguments
3. The Docker container is destroyed
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

L140 should read 'Distributions that use the apk package manager (such as Alpine) should use the --no-cache flag when using apk add to install packages:'


1. A Docker container is created
2. The Docker container is run with the correct arguments
3. The Docker container is destroyed
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

L217 should read 'Its Dockerfile starts with a stage (given the name build) that installs those packages (via apk add) and then installs the libraries (via bundle install):'

@tasxatzial tasxatzial requested a review from BNAndras October 3, 2024 16:17
@tasxatzial
Copy link
Member Author

tasxatzial commented Oct 3, 2024

Ready for review

Edit: added the first suggestion (a period should be used after an item in a list if every item is a sentence on its own)

@tasxatzial tasxatzial changed the title Fix grammar issues in best-practices.md Revise best-practices.md Oct 3, 2024
@tasxatzial
Copy link
Member Author

@BNAndras Whenever you're able, your review is still needed.

@SleeplessByte SleeplessByte merged commit 7cdebb7 into exercism:main Oct 17, 2024
@tasxatzial tasxatzial deleted the best-practices branch October 17, 2024 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants